<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container {
      width: 400px;
      margin: 50px auto 0;
    }

    .justify {
      position: relative;
      width: 100%;
      height: 24px;
      text-align: justify;
      margin-bottom: 20px;
      /* text-align-last: justify; */
      text-indent: 9px;

    }

    .justify i {
      width: 24px;
      line-height: 24px;
      display: inline-block;
      text-align: center;
      background: #333;
      color: white;
      border-radius: 50%;
      overflow: hidden;
      font-style: normal;
    }

    .justify::after {
      content: "";
      display: inline-block;
      position: relative;
      top: -28px;
      height: 1px;
      line-height: 0;
      width: 100%;
      background: #333;
      z-index: -1;
    }
  </style>

</head>

<body>

</body>
<div class="container">
  <div class="justify">
    <i>1</i>
    <i>2</i>
    <i>3</i>
    <i>4</i>
    <i>5</i>
    <!--[if lte IE 7]>
<b></b><![endif]-->
    <!-- 兼容不支持伪元素的 ie678 -->
  </div>
  <div class="justify">
    <i>1</i>
    <i>2</i>
    <i>3</i>
    <i>4</i>
  </div>
  <div class="justify">
    <i>1</i>
    <i>2</i>
    <i>3</i>
  </div>
  <div class="justify">
    <i>1</i>
    <i>2</i>
  </div>
  <div class="justify">
    <i>1</i>
  </div>
</div>

</html>